package abstractLearn;


/**
 * @Author Mr.Wen
 * @Version 1.0
 */
public class Test extends Person {
    public static void main(String[] args) {
        Test test = new Test();
        test.method();
    }



    @Override
    void method() {
        System.out.println(a);
        method2();
        /*继承了抽象类也会继承他的成员属性*/
    }
}
